package com.etc.youkeshoppingssm.entity;

import java.io.Serializable;
import java.math.BigDecimal;

public class Coupons implements Serializable {
    private int id;
    private int userId;
    private int businessId;
    private int typeId;
    private BigDecimal price;
    private int cnts;
    private int discount;
    private BigDecimal min_amount;
    private String desc;

    @Override
    public String toString() {
        return "Coupons{" +
                "id=" + id +
                ", userId=" + userId +
                ", businessId=" + businessId +
                ", typeId=" + typeId +
                ", price=" + price +
                ", cnts=" + cnts +
                ", discount=" + discount +
                ", min_amount=" + min_amount +
                ", desc='" + desc + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getBusinessId() {
        return businessId;
    }

    public void setBusinessId(int businessId) {
        this.businessId = businessId;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public int getCnts() {
        return cnts;
    }

    public void setCnts(int cnts) {
        this.cnts = cnts;
    }

    public int getDiscount() {
        return discount;
    }

    public void setDiscount(int discount) {
        this.discount = discount;
    }

    public BigDecimal getMin_amount() {
        return min_amount;
    }

    public void setMin_amount(BigDecimal min_amount) {
        this.min_amount = min_amount;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Coupons(int userId, int businessId, int typeId, BigDecimal price, int cnts, int discount, BigDecimal min_amount, String desc) {
        this.userId = userId;
        this.businessId = businessId;
        this.typeId = typeId;
        this.price = price;
        this.cnts = cnts;
        this.discount = discount;
        this.min_amount = min_amount;
        this.desc = desc;
    }

    public Coupons() {
    }
}
